package com.zgc.dao;

import java.util.List;

import com.zgc.domain.TeachSource;

public interface IsourceInfoDao {
	
	public  void saveSourseInfo( TeachSource teachSource);

	public List<TeachSource> qryAllSource();

	public List<TeachSource> qryBySpec(String speciality);

	public List<TeachSource> qryByKey(String keyWord);

	public void updateSourById(TeachSource teachSource);

	public TeachSource qrySourceById(int sourceId);

	public void delSourById(int sourceId);

	public int getAllRowCount(String hql);

	public List queryForPage(String hql, int offset, int length);

}
